<div class="use-view-study box event-item clearfix" id="use-view-study<?php echo $study->id; ?>" >
	<div class="text-left col-xs-9 col-left">
		<div class="use-name-work"><?php echo $study->title.'  -  '.$study->locate; ?></div>
	</div>
	<div class=" text-right col-xs-3 col-right">
		<div class="col-xs-1" style="float:right">
			<img onclick="callDeletestudy(<?php echo $study->id; ?>);" src="<?php echo Yii::app()->theme->baseUrl; ?>/images/icon-del.jpg">
		</div>
		<div class="row col-xs-19">
		        <?php 
            	echo CHtml::ajaxLink(
                      "Chỉnh sửa",
                      Yii::app()->createUrl('/Users/profiles/updatestudy',array('id'=>$study->id)),
                      array( // ajaxOptions
                        'type' =>'POST',
                        'dataType' => 'json',
                        'success' => 'function(data)
                          {
                            $("#use-add-study").html("");
		                    $("#use-add-study").show();
                       		$("#use-add-study").html(data.view);
                          }',
                      ),
                      array('class'=>'user-link-add', 
                      	'href' => Yii::app()->createUrl('/Users/profiles/updatestudy',array('id'=>$study->id)))
                    );
         ?>
		</div>
	</div>
</div>